package model;

import java.util.Observable;

public class Path extends Observable{
	
	private String startPoint;
	private String stopPoint;
	private String endPoint;
	
	public Path(){}
	
	public void setPoints(String p1, String p2, String p3){
		startPoint = p1;
		stopPoint = p2;
		endPoint = p3;
		
		String[] points = {startPoint, stopPoint, endPoint};
				
		setChanged();
		notifyObservers(points);
	}
}
